package com.dls.admin.service.impl;

import com.dls.admin.dao.SysUserMapper;
import com.dls.admin.model.SysUser;
import com.dls.admin.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysUserServiceImpl implements SysUserService {

    @Autowired
    SysUserMapper userMapper;

    @Override
    public SysUser findUser(String account) {
        SysUser user = userMapper.selectByPrimaryKey(account);
        return user;
    }


}
